const Koa = require('koa')
const app = new Koa()

const main = () => {
    throw(404)
}

app.use(main)
app.listen(3000, () => {
  console.log('项目已启动');
})